package com.quanyue.music.file.service;

import com.quanyue.music.domain.entity.Fm;
import com.quanyue.music.file.type.*;
import com.shzisg.mybatis.mapper.page.Page;

import java.util.List;

public interface FMFileService {
    void upload(FMUpload fmUpload);

    void update(FMUpload fmUpload);

    void delete(String id);

    boolean updateLikeCount(FMLikeRequest request, String userId);

    void updateLikeCount(List <Fm> fmList);

    Page <FMDetailList> findList(FMDetailRequest request);

    String findListExcel(FMListExcel request);

    FMUpload findSOS();
}
